<%--
  Created by IntelliJ IDEA.
  User: jshand
  Date: 2022-10-21
  Time: 10:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%
    HttpSession mysession = request.getSession();

    mysession.setMaxInactiveInterval(10);

    System.out.println("mysession.getId() = " + mysession.getId());
    System.out.println("maxAge : "+mysession.getMaxInactiveInterval());
    System.out.println("mysession.getCreationTime() = " + mysession.getCreationTime());
    System.out.println("mysession.getLastAccessedTime() = " + mysession.getLastAccessedTime());

%>


</body>
</html>
